package com.itheima.service.db;

import com.itheima.domain.SmsHomeNewProduct;
import com.itheima.vo.PageBeanVo;

public interface SmsHomeNewProductService {
    //分页查询
    PageBeanVo findByPage(Integer pageNum,Integer pageSize,String productName,Integer recommendStatus);

    //根据id修改状态
    void update(Long id, Integer recommendStatus);

    //删除新品推荐
    void delete(Long id);

    //修改首页新品排序
    void updateSort(Long id, Integer sort);

    void addProduct(SmsHomeNewProduct smsHomeNewProduct);
}
